package equals;

public class testMain
{
	public static void main(String[] args)
	{
		System.out.println("========");
		Phone p1 = new Phone("Mi8",2799,64,false);
		Phone p2 = new Phone("MI6",2799,64,true);
		Phone p3 = new Phone("Mi8",2799,64,false);
		System.out.println(p1.toString());
		System.out.println(p2.toString());
		System.out.println("---->"+p2.equals(p1));
		System.out.println("---->"+p1.equals(p3));
	}
}
